package qc.module.qms.mapper;

import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;
import qc.module.qms.algorithm.NumericCalc.dto.QmsNumericCalcUseMethodInputTsDatas;
import qc.module.qms.entity.QmsCalcMethodInput;

import java.util.List;

/**
 * QmsCalcMethodInputMapper
 *
 * @author QuCheng Tech
 * @since 2025/9/9
 */
@Mapper
public interface QmsCalcMethodInputMapper {
    QmsCalcMethodInputMapper MAPPER = Mappers.getMapper(QmsCalcMethodInputMapper.class);

    QmsNumericCalcUseMethodInputTsDatas toUse(QmsCalcMethodInput en);

    List<QmsNumericCalcUseMethodInputTsDatas> toUseList(List<QmsCalcMethodInput> ens);
}
